Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / core / service / src / androidMain / kotlin / org / meshtastic / core / service / ProtectedPositionAdvisory.kt

Displaying Raw • Download

core/service/src/androidMain/kotlin/org/meshtastic/core/service/ProtectedPositionAdvisory.kt fix/qr-error-correction (7b45f84f) Text, 1.69 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.service

Tff7b72import T7ee787org.meshtastic.core.model.util.isOtaStatusNotification
Tff7b72import T7ee787org.meshtastic.proto.ClientNotification
Tff7b72import T7ee787org.meshtastic.proto.LogRecord

Tff7b72internal Tff7b72const Tff7b72val Te6edf3PROTECTED_POSITION_ADVISORY_MESSAGE Tff7b72= Ta5d6ff"Ta5d6ffLocation sharing is disabled on this channelTa5d6ff"

T8b949e/**
* Wire currently generates each ClientNotification oneof member as a nullable property rather than exposing a sealed
* discriminator. Keep this complete gate aligned with the five payload variants in the pinned protobuf schema.
*/
Tff7b72internal Tff7b72fun Te6edf3ClientNotificationTb4b4b4.Td2a8ffisProtectedPositionAdvisoryTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657Boolean Tff7b72=
Te6edf3message Tff7b72=Tff7b72= Te6edf3PROTECTED_POSITION_ADVISORY_MESSAGE Tff7b72&Tff7b72&
Te6edf3level Tff7b72=Tff7b72= Te6edf3LogRecordTb4b4b4.Te6edf3LevelTb4b4b4.Te6edf3WARNING Tff7b72&Tff7b72&
Te6edf3reply_idTff7b72?.Te6edf3let Tb4b4b4{ Tffa657it Tff7b72!Tff7b72= T79c0ff0 Tb4b4b4} Tff7b72=Tff7b72= Tff7b72true Tff7b72&Tff7b72&
Te6edf3key_verification_number_inform Tff7b72=Tff7b72= Tff7b72null Tff7b72&Tff7b72&
Te6edf3key_verification_number_request Tff7b72=Tff7b72= Tff7b72null Tff7b72&Tff7b72&
Te6edf3key_verification_final Tff7b72=Tff7b72= Tff7b72null Tff7b72&Tff7b72&
Te6edf3duplicated_public_key Tff7b72=Tff7b72= Tff7b72null Tff7b72&Tff7b72&
Te6edf3low_entropy_key Tff7b72=Tff7b72= Tff7b72null Tff7b72&Tff7b72&
Tff7b72!Te6edf3isOtaStatusNotificationTb4b4b4(Tb4b4b4)

Served by rngit 1.5.0 - Generated in 0.04s